package org.erp.store.infrastructure.convert;

import org.erp.store.domain.entity.DeviceRemark;
import org.erp.store.domain.dto.DeviceRemarkDto;
import org.erp.store.domain.vo.DeviceRemarkVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

import java.util.List;

@Mapper(componentModel = "spring", builder = @org.mapstruct.Builder(disableBuilder = true))
public interface DeviceRemarkConvert {


    @Mappings(value = {})
    DeviceRemark toDeviceRemark(DeviceRemarkDto deviceRemarkDto);

    @Mappings(value = {})
    DeviceRemarkVo toDeviceRemarkVo(DeviceRemark deviceRemark);

    @Mappings(value = {})
    List<DeviceRemarkVo> toDeviceRemarkVoList(List<DeviceRemark> deviceRemarkList);
}
